package cn.kgc.client;

import cn.kgc.base.vo.OrderVo;
import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月05日15:57
 */
@FeignClient(value = "mall-oms",path="/order",fallback= OmsFeignClientImpl.class)
public interface OmsFeignClient {

    @GetMapping("/getOrderVo")
    Result<OrderVo> getOrderVo(@RequestParam(name = "orderSn") String orderSn);
}
